package com.ruoyi.eqmonitor.service;

import java.util.List;
import com.ruoyi.eqmonitor.domain.OptPatrolEvent;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.eqmonitor.dtos.*;
import com.ruoyi.eqmonitor.vo.CockpitVo;

/**
 * @author ruoyi
 * @date 2022-12-05
 */
public interface IOptPatrolEventService extends IService<OptPatrolEvent>{

    public OptPatrolEvent selectOptPatrolEventById(Long id);

    public List<OptPatrolEvent> selectOptPatrolEventList(OptPatrolEvent optPatrolEvent);

    List<OptDeviceAlarmDto> reCockpitData(List<CockpitVo> vos, String type);

    boolean add(OptPatrolEvent optPatrolEvent);

    boolean assign(OptPatrolEventAssignDto optPatrolEventAssignDto);

    boolean dispatch(OptPatrolEventDispatchDto optPatrolEventDispatchDto);

    boolean confirm(OptPatrolEventConfirmDto optPatrolEventConfirmDto);

    boolean handle(OptPatrolEventHandleDto optPatrolEventHandleDto);

    boolean audit(OptPatrolEventAuditDto optPatrolEventAuditDto);

    boolean end(OptPatrolEventEndDto optPatrolEventEndDto);
}
